package com.pan.admin.module.api.service;

import com.pan.admin.module.api.entity.ApiDataExchangeBacklist;

import java.util.List;


/**
 * DataExchangeBacklistServiec接口
 *
 * @author ZJQ
 * @date 2024-10-25
 */
public interface ApiDataExchangeBacklistService {

    /**
     * 查询撞库黑名单数据
     *
     * @param apiDataExchangeBacklist ApiDataExchangeBacklist
     * @return ApiDataExchangeBacklist
     */
    List<ApiDataExchangeBacklist> list(ApiDataExchangeBacklist apiDataExchangeBacklist);

    /**
     * 新增撞库黑名单数据
     *
     * @param apiDataExchangeBacklist
     * @return int
     */
    int insetApiDataExchangeBacklist(ApiDataExchangeBacklist apiDataExchangeBacklist);


    /**
     * 删除撞库黑名单数据
     *
     * @param id DataExchangeBacklist数据主键
     * @return 结果
     */
    int deleteById(Long id);

}
